package com.mew.common.dc.db;


import com.mew.common.dc.mapper.DownRecordMapper;
import com.mew.common.dc.mapper.PlayRecordMapper;
import com.mew.common.entity.record.DownRecord;
import com.mew.common.entity.record.PlayRecord;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class PlayRecordService {

    @Autowired
    private PlayRecordMapper playRecordMapper;
    @Autowired
    private DownRecordMapper downRecordMapper;

    public void insertPlayRecord(PlayRecord playRecord){
        playRecordMapper.insert(playRecord);
    }

    public void insertDownRecord(DownRecord downRecord){
        downRecordMapper.insert(downRecord);
    }
}
